<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>智战疫 | 发热门诊</title>
    <meta name="description" content="">
    <meta name="keywords" content="">
    <link rel="shortcut icon"type="image/ico"href="../p1.ico">
    <style>
       #header {
            background-color:#6699cc;
            color:white;
            text-align:center;
            padding:5px;
            margin-top:10px;
            margin-left:10px;
            margin-right:10px;
       }
       #nav {
            line-height:30px;
            background-color:#6699cc;
            height:560px;
            width:150px;
            margin-top:10px;
            margin-left:10px;
            float:right;
            padding:5px;
       }
       #middle1{
            height:560px;
            width:1000px;
            margin-left:10px;
            margin-right:10px;
            margin-top:10px;
            float:right;
            padding:5px;
       }
        #box{
        width: 380px;
        margin: 30px auto;
        background-color:#6699cc;
        font-family: 'Microsoft YaHei';
        font-size: 14px;
    }
    input{
        width: 260px;
        border: 1px solid #e2e2e2;
        height: 30px;
        float: left;
        background-repeat: no-repeat;
        background-size: 25px;
        background-position:5px center;
        padding:0 0 0 40px;
    }
    #search{
        width: 78px;
        height: 32px;
        float: right;
        background: #6699cc;
        color: white;
        text-align: center;
        line-height: 32px;
        cursor: pointer;
    }
    table
        {
            border-collapse: collapse;
            margin: 0 auto;
            text-align: center;
            float:left;
            margin-top:30px;
        }
        table td, table th
        {
            border: 1px solid #cad9ea;
            color: #666;
            height: 30px;
        }
        table thead th
        {
            background-color: #CCE8EB;
            width: 100px;
        }
        table tr:nth-child(odd)
        {
            background: #fff;
        }
        table tr:nth-child(even)
        {
            background: #F5FAFA;
        }
    </style>
    <style>
        a{
		    text-decoration:none;
		    color:black;
        }
    </style>
    <style>
        .absolute1 {
                position: absolute;
                color: white;
                font-family: STXingkai;
                top: 500px;
                left: 520px;
                text-align: center;
                font-size: 400%;
            }
    </style>
    <style>
        .black_overlay{
            display: none;
            position: absolute;
            top: 0%;
            left: 0%;
            width: 100%;
            height: 100%;
            background-color: black;
            z-index:1001;
            -moz-opacity: 0.8;
            opacity:.80;
            filter: alpha(opacity=88);
        }
        .white_content {
            display: none;
            position: absolute;
            top: 25%;
            left: 25%;
            width: 55%;
            height: 55%;
            padding: 20px;
            border: 10px solid orange;
            background-color: white;
            z-index:1002;
            overflow: auto;
        }
    </style>
</head>
<body>
<div style="height:760px;width:1250px; border-width: 1px;border-style: solid;">
       <div id="header">
            <span style="font-family: STXingkai;color: #FFFFFF;font-size: 400%">智战疫 | 发热门诊</span>
            <button id="btn0" class="btn btn-info glyphicon glyphicon-star" style="margin-left: 900px"
                    onclick = "window.location.href = 'http://127.0.0.1:5000/Second'">返回 </button>
       </div>
        <div>
            <form method="post" action="">
             <input required="required" type="text" name="province" id="province" placeholder="所在省份">
             <input required="required" type="text" name="city" id="city" placeholder="所在城市">
             <input type="submit" value="搜索">
            </form>
        </div>
        <div id="nav">
            <h1 style="text-align:center">分布图</h1>
            <p style="text-align:center;font-size:150%;margin-top:20px"><a href="http://127.0.0.1:5000/中国">中国</a></p>
             <p style="text-align:center;font-size:150%;margin-top:20px"><a href="http://127.0.0.1:5000/河南省">河南省</a></p>
             <p style="text-align:center;font-size:150%;margin-top:20px"><a href="http://127.0.0.1:5000/郑州市">郑州市</a></p>
        </div>
     <table class= "table" style="width:1050px;height:500px; overflow-y:auto; overflow-x:auto;overflow:scroll;display: inline-block">
         <tr>
             <th>医疗机构名称</th>
             <th>电话</th>
             <th>地址</th>
         </tr>
        {% for i in resultdata %}
        <tr>
            <td>{{i.name}}</td>
            <td>{{i.phone}}</td>
            <td>{{i.pos}}</td>
        </tr>
        {% endfor %}
    </table>
</div>
</body>
</html>
